#ifndef PROPERTYCONFIGVIEW_H
#define PROPERTYCONFIGVIEW_H

#include ".\configview.h"
#include <QTreeWidget>

class PropertyConfigView : public ConfigView
{
    Q_OBJECT
public:
    explicit PropertyConfigView(QObject *parent = nullptr);
    ~PropertyConfigView();

    QWidget* viewWidget() override;
    void updateConfig(const QJsonArray &config) override;
    QJsonArray getModifiedConfig() const override;

private:
    QWidget *m_view = nullptr;
    QTreeWidget *m_treeWidget = nullptr;
    QJsonArray m_currentConfig;
};

#endif // PROPERTYCONFIGVIEW_H
